home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Best of Shareware
/
Best of PC Windows Shareware 1.0 - Wayzata Technology (7111) (1993).iso
/
pc
/
dos
/
business
/
ordenty
/
install.bat
< prev
next >
Wrap
DOS Batch File
|
1993-06-29
|
3KB
|
94 lines
ECHO OFF
CLS
:TOP
echo THIS DISK MUST BE IN DRIVE A
ECHO ╔════════════════════════════════════════════════════════════════════════════╗
ECHO ║ ORDER ENTRY, INVOICING, INVENTORY, ACCOUNTS RECEIVABLE ║
ECHO ║ ║
ECHO ║ A FIRST TIME INSTALL ON HARD DISK DRIVE C: ║
ECHO ║ B UPGRADE FROM ANY PRIOR VERSION ║
ECHO ║ C VIEW ORDER ENTRY DOCUMENTATION ║
ECHO ║ D PRINT ORDER ENTRY DOCUMENTATION ║
ECHO ║ ║
ECHO ║ Enter letter A,B,C or D or Press Esc to quit ║
ECHO ╚════════════════════════════════════════════════════════════════════════════╝
ECHO THE INSTALL ROUTINE WILL NOT WORK UNLESS THIS DISK IS IN DRIVE A
:START
GETLETR
IF ERRORLEVEL 27 GOTO END
IF ERRORLEVEL 7 GOTO START
IF ERRORLEVEL 4 GOTO LABELD
IF ERRORLEVEL 3 GOTO LABELC
IF ERRORLEVEL 2 GOTO LABELB
:LABELA
CLS
ECHO THIS WILL INSTALL THE ORDER ENTRY PROGRAM ON HARD DISK DRIVE C
ECHO A SUB DIRECTORY 'INVR' WILL BE CREATED
ECHO IF THIS NAME IS A DUPLICATE OF ANY DIRECTORY NAME IN USE
ECHO PRESS CTRL C TO ABORT INSTALLATION - PRESS ANY OTHER KEY TO INSTALL
PAUSE
CLS
ECHO DO NOT INTERRUPT INSTALLATION IN PROCESS
C:
CD\
MD INVR
CD\INVR
A:
COPY A:INVR.EXE C:\INVR
COPY A:DATA.EXE C:\INVR
C:
CD\INVR
ECHO WE WILL NOW EXTRACT THE NECESSARY FILES
INVR
ERASE INVR.EXE
DATA
ERASE DATA.EXE
CD\
COPY A:OE.BAT C:
cls
ECHO .
ECHO .
ECHO INSTALLATION IS COMPLETE
echo .
echo YOU MAY ACCESS THE PROGRAM BY TYPING 'OE' without quotes
echo AT YOUR C Drive ROOT DIRECTORY, AND THEN PRESS RETURN
PAUSE
CLS
GOTO END
:LABELB
CLS
ECHO THIS WILL INSTALL THE NEW ORDER ENTRY PROGRAM ON HARD DISK DRIVE C
ECHO IN THE A SUB DIRECTORY 'INVR'
ECHO PRESS CTRL C TO ABORT INSTALLATION - PRESS ANY OTHER KEY TO INSTALL
PAUSE
CLS
ECHO DO NOT INTERRUPT INSTALLATION IN PROCESS
A:
COPY A:INVR.EXE C:\INVR
C:
CD\INVR
ERASE OE.EXE
ECHO WE WILL NOW EXTRACT THE NECESSARY FILES
INVR
ERASE INVR.EXE
CD\
cls
ECHO .
ECHO .
ECHO UPGRADE INSTALLATION IS COMPLETE
echo .
echo YOU MAY ACCESS THE PROGRAM BY TYPING 'OE' without quotes
echo AT YOUR C Drive ROOT DIRECTORY, AND THEN PRESS RETURN
PAUSE
CLS
GOTO END
:LABELC
LIST OE.DOC
CLS
GOTO TOP
:LABELD
COPY OE.DOC PRN
GOTO TOP
:END
CLS